package com.atguigu.admin.dao;


import com.atguigu.admin.bean.Admin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface AdminMapper  {


    public Admin getById(Integer id);

    @Select("select * from admin")
    public List<Admin> list( );


    @Delete("delete from admin where id=#{id}")
    public void delet(Integer id);




}
